package com.nowcoder.community.dao;

import org.springframework.stereotype.Repository;

/**
 * @author 黄小白
 * @version 1.0
 */
// 访问数据库的bean注解,可以给bean自定义名字
@Repository("alphaHibernate")
public class AlphaDaoHibernateImpl implements AlphaDao {
    @Override
    public String select() {
        return "Hibernate";
    }
}
